package com.intellagric.service.search;

import com.intellagric.common.pojo.LayuiDataGridResult;
import com.intellagric.common.pojo.ResponseMessage;
import com.intellagric.service.search.pojo.DataRecordVo;

/**
 * @Author: zhy
 * @email: 1269679946@qq.com
 * @Date: 2018/12/31
 * @DESC： 物联网监控数据查询服务接口
 */
public interface IftDataRecordSearchService {

    /**
     * 将数据导入索引库
     * @return ResponseMessage
     */
    ResponseMessage importDataRecord();

    /**
     * 分页查询采集数据
     * @param page
     * @param rows
     * @return LayuiDataGridResult
     */
    LayuiDataGridResult searchDatarecordPage(int page, int rows);

    /**
     * 多条件查询
     * @param dataRecordVo
     * @return LayuiDataGridResult
     */
    LayuiDataGridResult searchDatarecordByVo(DataRecordVo dataRecordVo);

    /**
     * 多条件分页查询
     * @param dataRecordVo
     * @param page
     * @param rows
     * @return LayuiDataGridResult
     */
    LayuiDataGridResult searchDatarecordPageByVo(DataRecordVo dataRecordVo, int page, int rows);
}
